-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ONNX to Zhigh guided by cost model #2507
Conversation
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
@jenkins-droid test this please |
@jenkins-droid please test this |
FYI, I created a PR to place operations on devices by using |
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Signed-off-by: Alexandre Eichenberger <[email protected]>
Since we are going to add different control on the conversion, I suggest that we clear up the program structure first.
@AlexandreEichenberger @tungld Should we restructure the code before we add new code? |
Signed-off-by: Alexandre Eichenberger <[email protected]>
@chentong319 fyi #2510 |
Sure, this PR can refactor the benefits as a separate function that can be separate from the legality check. |
You are making excellent points @chentong319, I will transform the code to separate benefit from validity (it was kind of separate already if we disable the benefit flag, but it is indeed better to have a stronger/clearer separation. |
@AlexandreEichenberger looks like this patch is replaced by #2534 that was landed. |
Using Cedric's cost model to make a first approximation at only migrating to zAIU the ops that appears to be beneficial according to that cost model.
Enables using the
-enable-zhigh-cost-model
flag.